package com.xu.controller;

import com.xu.service.XuService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
public class Test {
    @Resource
    private XuService xuService;
    @RequestMapping("/aa")
    public List aa() {
       
        return xuService.all();
    }


}
